#!/bin/bash

set -x


export  CFLAGS=" -g "
export LDFLAGS=" " 

rm -f ExcelSpreadPub.o ExcelSpreadPub.a ExcelSpreadPub.dll testmain.exe testmain.o


gcc $CFLAGS $LDFLAGS -O2 -Wall -o teststatic.exe teststatic.c /usr/local/lib/libspread-core.a

echo ==============================

./teststatic.exe
